<template>
  <input type="text" v-model="message">
</template>

<script>
    export default {
      name: "ChildComponent04",
      data() {
        return {
          message: ""
        };
      },
      watch: {
        message(mesVal) {
          // console.log(mesVal);
          this.$emit("myEvent", mesVal);
        }
      }
    }
</script>

<style scoped>

</style>
